/*
 * Cumulable.java   2008/07/28
 *
 * Copyright 2008 Web & Zen Multimedia, All rights reserved.
 * Use is subject to license terms.
 */
package it.wzm.common.lightweightlog.client;

import java.util.LinkedList;

/**
 * A Queue implementing this interface will store all passed {@link Entry} to its internal storage
 * @author Leonardo Celati
 * @version 1.0
 */
public interface Cumulable {
    
    /**
     * This metod must return a sorted list containing all entry
     * @return LinkedList of {@link Entry}
     */
    <E extends Entry> LinkedList<E> retainAll();
    
}
